/**
* List all UPLAOD INFO
*/
package com.godpaper.as9.constants
{
	import flash.net.FileFilter;
	
	public class UploadInfoList
	{
		//for enum upload url
			//Singly file upload
			
			//Multi file upload
		public static const URL_DEFAULT:String = "http://localhost:90/AlbumShare2009/app/views/as9/bin-debug/upload.php";
		
		public static const METHOD_POST:String = "POST";
		public static const CONTENT_TYPE:String = "multipart/form-data";
		
		public static const TYPES_IMAGE:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg;*.jpeg;*.gif;*.png");
		
		public static const RESULT_FAILURE:String = "uploadFailure";
		public static const RESULT_SUCCESS:String = "uploadSuccess";
		public static const RESULT_ERROR:String = "uploadError";
		
		public static const UPLOAD_MAX_FILE_SIZE:Number = 4194304;//byte;
		public static const UPLOAD_MAX_FILE_NUM:Number = 5;//numbers;
	}
}